import cv2
import imgShow.Img as Img

img = cv2.imread('2.jpg')
up = cv2.pyrUp(img)
Img.cv_show(up, 'up')

down = cv2.pyrDown(img)
Img.cv_show(down, 'down')


ll = img-cv2.pyrUp(down)
Img.cv_show(ll, 'll')